package com.tender.mapper;

import com.tender.domain.ShiroUserRole;
import com.tender.domain.ShiroUserRoleExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShiroUserRoleMapper {
    int countByExample(ShiroUserRoleExample example);

    int deleteByExample(ShiroUserRoleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ShiroUserRole record);

    int insertSelective(ShiroUserRole record);

    List<ShiroUserRole> selectByExample(ShiroUserRoleExample example);

    ShiroUserRole selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ShiroUserRole record, @Param("example") ShiroUserRoleExample example);

    int updateByExample(@Param("record") ShiroUserRole record, @Param("example") ShiroUserRoleExample example);

    int updateByPrimaryKeySelective(ShiroUserRole record);

    int updateByPrimaryKey(ShiroUserRole record);
}